package com.taylor.seckill.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @Description: TODO
 * @author taylor
 * @date  2021/4/9 0:12
 */
@Getter
@ToString
@AllArgsConstructor
public enum ResponseBeanEnum {
    SUCCESS(200,"SUCCESS"),
    ERROR(500,"服务器异常"),
    //登录错误
    LOGIN_ERROR(500210,"用户名或者密码错误"),
    //参数校验异常
    BIND_ERROR(500212,"参数校验异常");
    private final Integer code;
    private final String message;
}
